package city.spring.modules.personnel.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 实体类：员工奖惩
 *
 * @author 潘小梅
 * @date 2020-04-08 15:12:03
 */
@Data
@TableName("employee_reward_punishment")
public class EmployeeRewardPunishmentEntity implements Serializable {

    /**
     * 奖惩id
     */
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    /**
     * 员工id
     */
    private String employeeId;
    /**
     * 奖惩时间
     */
    private Date executionTime;

    /**
     * 奖惩类型
     */
    private String type;

    /**
     * 金额
     */
    private BigDecimal money;

    /**
     * 原因
     */
    private String reason;

    /**
     * 操作人id
     */
    private String operatorId;

    /**
     * 备注
     */
    private String remarks;

    /**
     * 创建时间
     */
    @TableField(insertStrategy = FieldStrategy.NEVER, updateStrategy = FieldStrategy.NEVER)
    private Date gmtCreate;

}